package com.example.workrecord.common;
/**
  *@ClassName: Env
  *@Description 常量类
  *@Author Mr.Bu
  *@Date 2019/9/19 19:08
  *@Version: 1.0
  */
public class Env {
    /**
     *
     */
    public static final int NULL_LENGTH = 0;
    /**
     * 钉钉消息类型
     */
    public static final int MESSAGE_DING_STATUS = 1;
    /**
     *  短信消息类型
     */
    public static final int MESSAGE_SMS_STATUS = 2;
    /**
     *  邮箱消息类型
     */
    public static final int MESSAGE_EMAIL_STATUS = 3;
    /**
     * 成功状态
     */
    public static final Integer SUCESS_CODE  = 100;
    /**
     * 默认上级部门主键
     */
    public static final String DINGPARENTID  = "1";

    /**
     * 钉钉成功编码
     */
    public static final String DINGSUCESSCODE="0";
    /**
     * 邮箱验证
     */
    public static final String CHECKMAIL="faw.com.cn";

    /**
     * 企业corpid
     */
    public static final String CORP_ID = "dingc8f854e9cbec00f035c2f4657eb6378f";

    /**
     * 应用agentId
     */
    public static final String AGENT_ID = "589109094";
//    public static final String AGENT_ID = "643456568";



    /**
     * 应用的appkey
     */
    public static final String APP_KEY = "ding8l7wkycwiqwyol5a";

    /**
     * 应用的appsecret
     */
    public static final String APP_SECRET = "prcZPf9fkeLVKK2gnZwO1Fr3o9MFOltxN2pr5PSHRh7CZgy4lyqbneZ4Sq2_bEe7";

    /**
     * 回调host
     */
    public static final String CALLBACK_URL_HOST = "";

    /**
     * 加解密需要用到的token，企业可以随机填写。如 "123456"
     */
    public static final String TOKEN = "123456";

    /**
     * 数据加密密钥。用于回调数据的加密，长度固定为43个字符，从a-z, A-Z, 0-9共62个字符中选取,您可以随机生成
     */
    public static final String ENCODING_AES_KEY = "abcdefghijabcdefghijabcdefghijabcdefghij123";

    /**
     * DING API地址
     */
    public static final String OAPI_HOST = "https://oapi.dingtalk.com";

    /**
     * 删除企业回调接口url
     */
    public static final String DELETE_CALLBACK = "https://oapi.dingtalk.com/call_back/delete_call_back";

    /**
     * 注册企业回调接口url
     */
    public static final String REGISTER_CALLBACK = "https://oapi.dingtalk.com/call_back/register_call_back";

    /**
     * 企业应用后台地址，用户管理后台免登使用
     */
    public static final String OA_BACKGROUND_URL = "";

    public static final String SSO_Secret = "";

    public static final String MOB_DOMAIN="http://172.18.1.2:8087/";
    public static final String PC_DOMAIN="http://192.168.0.101:8080/?corpId=dingb9b4f71ed6f8ff6d35c2f4657eb6378f";


}
